package com.zsr.helloworld.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author zsr
 * @Desc
 * @Date 2021/5/7 20:35
 */
@RestController
public class HelloController {

    //http://localhost/hello
    //java -jar ./helloworld-0.0.1-SNAPSHOT.jar
    @RequestMapping("/hello")
    public String test1(){
        return "hello,world";
    }
}
